

function loadCache(){
	swal({
		title : "您确定要加载全部缓存吗",
		type : "warning",
		showCancelButton : true,
		confirmButtonColor : "#DD6B55",
		confirmButtonText : "确定",
		cancelButtonText : "取消",
		closeOnConfirm : false,
		closeOnCancel : false
	},
	function(a) {
		if(a){
			$.ajax({
                cache: true,
                type: "POST",
                url: "/system/param/cache/cacheDoing.do",
                async: false,
                error: function(data) {
                	swal("OMG", data.message, "error");
                },
                success: function(data) {
                	swal("加载缓存成功!", data.message, "success");
                }
            });
		}else{
			swal("操作成功!", "已经取消了操作", "success");
		}
	})
}